// 生产类型
import axios from '../../utils/http'

// 物联网版本库存
export function totalListgettypeAll(params) {
    return axios({
        url: '/totalList/getType',
        method: 'GET',
        params: params
    })
}
export function totalListcreate(params) {
    return axios({
        url: '/totalList/create',
        method: 'POST',
        data: params
    })
}

export function totalListdeleteType(params) {
    return axios({
        url: '/totalList/deleteType',
        method: 'DELETE',
        params: params
    })
}
// 联合筛选根据产品类型
export function LinkagegetAll(params) {
    return axios({
        url: '/Linkage/get',
        method: 'GET',
        data: params
    })
}
//获取直径
export function DiametergetAll(params) {
    return axios({
        url: '/Diameter/get',
        method: 'GET',
        data: params
    })
}
//获取工艺
export function CraftgetAll(params) {
    return axios({
        url: '/Craft/get',
        method: 'GET',
        data: params
    })
}
//获取长度
export function LengthgetAll(params) {
    return axios({
        url: '/Length/get',
        method: 'GET',
        data: params
    })
}
// 获取型号
export function WhatModelgetAll(params) {
    return axios({
        url: '/WhatModel/get',
        method: 'GET',
        data: params
    })
}
//获取生产类型
export function MoldgetAll(params) {
    return axios({
        url: '/Mold/get',
        method: 'GET',
        data: params
    })
}
//获取正次品
export function GoodOrBadgetAll(params) {
    return axios({
        url: '/GoodOrBad/get',
        method: 'GET',
        data: params
    })
}
//获取是否外协
export function OutsidegetAll(params) {
    return axios({
        url: '/Outside/get',
        method: 'GET',
        data: params
    })
}